# -*- coding: utf-8 -*-
# ===========================================
# @Time    : 2021/9/13 15:26 
# @Author  : shutao
# @FileName: setup.py
# @remark  : 
# 
# @Software: PyCharm
# Github 　： https://github.com/NameLacker
# ===========================================

from setuptools import setup, find_packages
import re

with open("modules/__init__.py", "r") as f:
    version = re.search(
        r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
        f.read(), re.MULTILINE
    ).group(1)

setup(
    name='modules',  # 包名
    version=version,  # 版本号
    packages=find_packages()  # 搜索项目下的包
)
